package com.dsg.entity.account;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 油咭交易明細
 * </p>
 *
 * @author system
 * @since 2020-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_account_card_detail")
@ApiModel(value = "DsgAccountCardDetail对象", description = "油咭交易明細")
public class DsgAccountCardDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "咭號")
    @TableField("CARD_NO")
    private String cardNo;

    @ApiModelProperty(value = "交易類型")
    @TableField("TRAN_TYPE")
    private Integer tranType;

    @ApiModelProperty(value = "充值/消費金額")
    @TableField("TRAN_VALUE")
    private BigDecimal tranValue;

    @ApiModelProperty(value = "充值/消費時間")
    @TableField("TRAN_TIME")
    private Date tranTime;

    @ApiModelProperty(value = "交易狀態")
    @TableField("TRAN_STATUS")
    private Integer tranStatus;

    /**
     * 企業編號
     */
    @TableField(value = "ENT_CODE")
    @ApiModelProperty(value = "企業編號", name = "entCode")
    private String entCode;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
